package com.joker.orange.service;

import com.joker.orange.domain.WithdrawRecord;
import com.joker.orange.domain.vo.WithdrawRecordVo;
import com.joker.orange.domain.bo.WithdrawRecordBo;
import com.joker.common.core.page.TableDataInfo;
import com.joker.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 提现管理Service接口
 *
 * @author Joker
 * @date 2024-07-31
 */
public interface IWithdrawRecordService {

    /**
     * 查询提现管理
     */
    WithdrawRecordVo queryById(Long id);

    /**
     * 查询提现管理列表
     */
    TableDataInfo<WithdrawRecordVo> queryPageList(WithdrawRecordBo bo, PageQuery pageQuery);

    /**
     * 查询提现管理列表
     */
    List<WithdrawRecordVo> queryList(WithdrawRecordBo bo);

    /**
     * 新增提现管理
     */
    Boolean insertByBo(WithdrawRecordBo bo);

    /**
     * 修改提现管理
     */
    Boolean updateByBo(WithdrawRecordBo bo);

    /**
     * 校验并批量删除提现管理信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
